﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<IEnumerable<CinemaNetwork.Models.cinema>>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Index
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>Кинотеатры</h2>

     <% foreach (var item in Model) { %>
        
       <b>
                <%= Html.ActionLink(item.Name, "ViewCinema", "Home", new { id=item.id }, null)%>
          </b>
            <small>
                        <i>
                <%= Html.Encode(item.Address) %>
                </i>
                    </small>
                    <br /><br />
               <img src="/content/<%= Html.Encode(item.Link) %>">  
                 <hr  style="font-size: xx-large; color: #000000" />
          
        
    <% } %>


    
</asp:Content>

